package com.irs.mapper;

import com.irs.pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper {

    int insert(Goods goods);

    int insertList(@Param("pojos") List<Goods> pojo);

    List<Goods> select(@Param("pojo") Goods pojo);

    int update(Goods goods);

    void delete(int id);
    //根据id查询信息
    Goods selectgoods(int id);
    //核对user
     Goods checkGood(String empName);
     List<Goods> selectkey(String key);

}
